Repository navigation
Conversation
Issacboy123
force-pushed
the
stack/native-plan-05-runtime-tests
branch
from
August 16, 2026 03:14
dbbf6fb to
922d9fd
Compare
Exercise replacement reservations, concurrent transitions, and disposal ordering across runtime operations.
Exercise accepted plan routing, profile metadata, and built-in tool suppression across harness activation.
Pepps233
force-pushed
the
stack/native-plan-05-runtime-tests
branch
from
August 16, 2026 03:59
922d9fd to
1b9cce7
Compare
Contributor
Author
|
Closing to rebuild on a clean base. This stack does not build. Two separate defects are present, and the first masks the second:
Replacement stacks:
The branch behind this PR is retained unchanged as a backup. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Expands runtime and profile-routing coverage for native plan mode, accepted implementation handoff, exclusive replacement ownership, and recovery from failures at every asynchronous switch boundary.
Adds characterization tests showing when implementation should select a harness, stay in an existing or pinned scope, retain its continuation for retry, or leave the outgoing session untouched.
Reasoning
An automatic handoff can cross routing, confirmation, switch hooks, candidate creation, shutdown, invalidation, activation, and host rebinding before a prompt reaches the model.
Tests need to prove that no queued or competing prompt crosses that boundary, that pre-shutdown failures remain reversible, and that post-shutdown failures still leave one adopted runtime.
Plan lifecycle state makes automatic resume and tool suppression part of the same contract.
A routed session must never consume another transcript's unresolved plan, and SDK tool restrictions must remain effective when collaboration mode changes.
Changes
noToolsbehavior so plan mode keeps only intrinsic submission when built-ins are disabled.Testing
npm run checkpassed.